home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / Miro 1.0 / Miro_Installer.exe / chrome / content / canscrape.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-11-12  |  824 b   |  25 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  3. <?xml-stylesheet href="main.css" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://dtv/locale/canscrape.dtd">
  6. <dialog id="main"
  7.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8.     xmlns:html="http://www.w3.org/1999/xhtml"
  9.         title="&canscrape.title;"
  10.         ondialogaccept="window.arguments[0].out = '1';"
  11.         onload="updateLabel()"
  12.         buttons="accept">
  13.     <script type="text/javascript">
  14. function updateLabel() {
  15.   var label = document.getElementById("footer");
  16.   label.setAttribute("value", "&canscrape.prefix; " + window.arguments[0]["in"] + " &canscrape.suffix;")
  17. }
  18.     </script>
  19.     
  20.    <label value="&canscrape.body;" />
  21.    
  22.    <label id="footer" value="" />
  23.  
  24. </dialog>
  25.